package persistence;

import java.util.List;

import persistence.exception.DAOException;

public interface PurchaserDAO {
	Purchaser find(int id) throws DAOException;
	List<Purchaser> findAll() throws DAOException;
	List<Purchaser> findAllByLastName(String name) throws DAOException;
	List<Purchaser> findAllForLocation(LibraryLocation libraryLocation) throws DAOException;
	void updatePurchaser(Purchaser purchaser) throws DAOException;
	Purchaser create() throws DAOException; 
}
